<template functional>
  <a-menu-item-group :title="props.title">
    <slot />
    <template v-slot:title>
      <slot name="title" />
    </template>
  </a-menu-item-group>
</template>

<script>
export default {
  name: 'DMenuItemGroup',
  props: {
    title: {
      type: [String, Function]
    }
  }
};
</script>

<style lang="scss" scoped></style>
